package com.start.workflow.vo;

import com.start.common.entity.StartBaseUser;
import com.start.workflow.entity.StartActBusinessEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class StartActBusinessVo extends StartActBusinessEntity {
    @Schema(name = "申请人信息")
    private StartBaseUser procStartUser;

    public String getProcStartUserFinalName() {
        if (procStartUser == null) {
            return getProcStartUserKey();
        }
        return procStartUser.getUserFinalName();
    }
}
